CLI Examples
The following examples illustrate how to use the command-line interface.
Running a Project and Updating the Express project file
The following example runs the
C:\Projects\MyProject.wrp project and updates MyProject.wrp with the new styles, conditions, variables and xrefs:WebWorks.Automap.exe –u "C:\Projects\MyProject.wrp"Running a Project and Generating Only One Target
The following example runs the
C:\Projects\MyProject.wrp project and generates only the WebWorks Help target:WebWorks.Automap.exe –t "WebWorks Help" "C:\Projects\MyProject.wrp"Running a Project from Scratch and Deploying to a Clean Location
The following example runs the
C:\Projects\MyProject.wrp project and generates all targets defined in the project. This example also deletes the cached information in ePublisher to ensure it generates all the content from scratch, and it deletes all the files in the deployment location before deploying the newly-generated files:WebWorks.Automap.exe --clean --cleandeploy "C:\Projects\MyProject.wrp"Running a Project and Deploying to an Alternate Location
The following example runs the
C:\Projects\MyProject.wrp project and generates all targets defined in the project. This example also deploys all the newly generated files to the \\TestServer\Review folder:WebWorks.Automap.exe -d "\\TestServer\Review" "C:\Projects\MyProject.wrp"Running a Job Without Sending Notification When Done
The following example runs the
C:\Jobs\MyJob.waj job and does not send any email notification when the job is done:WebWorks.Automap.exe --nonotify "C:\Jobs\MyJob.waj"Running a Job and Deploying to a Clean Location
The following example runs the
C:\Jobs\MyJob.waj job and deletes all the files in the deployment location before deploying the newly-generated files:WebWorks.Automap.exe --cleandeploy "C:\Jobs\MyJob.waj"Running a Job Without Deploying the Content
The following example runs the
C:\Jobs\MyJob.waj job and does not deploy the generated output files. This example also uses the C:\Temp\Stage folder as the staging folder when running the job:WebWorks.Automap.exe --nodeploy -s "C:\Temp\Stage" "C:\Jobs\MyJob.waj"The staging folder provides a working folder for processing the job. ePublisher AutoMap stores the automatically generated ePublisher project, intermediate data files, and the output files in this folder.
Last modified date: 01/28/2026